const request = require('./request')

const BASE_URL = '/finance/setting'

/**
 * 获取初始化设置
 * @returns 
 */
function settingInit() {
  return request.get(BASE_URL + '/init')
}

/**
 * 提交设置
 * @param {*} params 
 * @returns 
 */
function submitSetting(params) {
  return request.post(BASE_URL + '/submit', params)
}


module.exports = {
  settingInit,
  submitSetting
} 